﻿<%@ Page language="c#" Codebehind="CISSearch.aspx.cs" AutoEventWireup="false" Inherits="BEGDC.CC.Web.Common.CISSearch" %>
<%@ OutputCache Location="None" %>
<%@ Register TagPrefix="cc1" Namespace="BEGDC.CC.Web.Control" Assembly="ASBCC.Web" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>Customer Infomation System</title>
		<base target="_self">
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
    <link href="../css/global.css" rel="stylesheet" type="text/css" />
    <link href="../css/style_fu.css" rel="stylesheet" type="text/css" />
		<SCRIPT language="JavaScript" src="../js/common.js" type="text/javascript"></SCRIPT>
		<script language="javascript">
		
			//-->For make radio buttons act as a group
			var flag =0;   
			var lastObj;   
			   
			function CancelSelect(obj)
			{   
			   
				if (flag == 0)
				{   
					lastObj = obj;   
					flag+=1;   
				}
				else
				{   
					if (lastObj.id != obj.id)
					{   
						lastObj.checked = false;   
						lastObj = obj;   
					}  
				}
			}   
			//-->
		</script>
	</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
			<h3 class="ev-header-section">
            &nbsp;Customer Infomation System</h3>
			<table cellSpacing="0" cellPadding="0" width="100%" border="0">
				<!--DWLayoutTable-->
				<tr class="ev-row2">
					<td>
						<asp:datagrid id="DG_CustomerList" runat="server" PagerStyle-Visible="False" PageSize="5" AllowPaging="True"
							AutoGenerateColumns="False" Width="98%" CssClass="tablestyle">
                    <AlternatingItemStyle></AlternatingItemStyle>
                    <ItemStyle CssClass="tbody"></ItemStyle>
                    <HeaderStyle CssClass="thead"></HeaderStyle>
							<Columns>
								<asp:TemplateColumn>
									<ItemTemplate>
										<asp:RadioButton id="CB_CIS" onclick="javascript:CancelSelect(this);" runat="server"></asp:RadioButton>
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:BoundColumn DataField="Name" HeaderText="Name &lt;br&gt;(客户姓名)"></asp:BoundColumn>
								<asp:BoundColumn DataField="Title" HeaderText="Title &lt;br&gt;(职务)"></asp:BoundColumn>
								<asp:BoundColumn DataField="Company" HeaderText="Company &lt;br&gt;(公司)"></asp:BoundColumn>
								<asp:BoundColumn DataField="Effects" HeaderText="Effects" ItemStyle-Width="150px"></asp:BoundColumn>
								<asp:BoundColumn DataField="Country" HeaderText="Country"></asp:BoundColumn>
								<asp:BoundColumn DataField="Province" HeaderText="Province &lt;br&gt;(省)"></asp:BoundColumn>
								<asp:BoundColumn Visible="False" DataField="Gender" HeaderText="Gender"></asp:BoundColumn>
							</Columns>
							<PagerStyle Visible="False"></PagerStyle>
						</asp:datagrid>
					</td>
				</tr>
				<tr class="ev-row2">
					<td align="right" class="padding5">
						<asp:imagebutton id="btnPageFirst" runat="server" ImageUrl="../images/pg_first_inact.gif" ImageAlign="AbsMiddle"></asp:imagebutton>&nbsp;
						<asp:imagebutton id="btnPagePrev" runat="server" ImageUrl="../images/pg_pre_inact.gif" ImageAlign="AbsMiddle"></asp:imagebutton>&nbsp;
						<asp:imagebutton id="btnPageNext" runat="server" ImageUrl="../images/pg_next_inact.gif" ImageAlign="AbsMiddle"></asp:imagebutton>&nbsp;
						<asp:imagebutton id="btnPageLast" runat="server" ImageUrl="../images/pg_last_inact.gif" ImageAlign="AbsMiddle"></asp:imagebutton>&nbsp; 
						&nbsp;&nbsp;
					</td>
				</tr>
				<tr class="ev-row2">
					<td class="padding5 ac">
						<button class="btn">Save</button>
                	    <button class="btn">Close</button>
						<asp:imagebutton id="Btn_Save" runat="server"></asp:imagebutton>&nbsp;
						<asp:imagebutton id="Btn_Close" runat="server" Visible="False"></asp:imagebutton>
					</td>
				</tr>
			</table>
		</form>
		<script language="javascript">
				function OnSave()
				{
					if( !window.confirm(SaveInfo) ) { event.returnValue = false; }
				}
				function OnDelete()
				{
					if( !window.confirm(DeleteItem) ) { event.returnValue = false; }
				}
				function OnClose()
				{
					window.close();
					window.returnValue='close';
				}
		</script>
	</body>
</HTML>
